<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table>
    <thead>
    <tr>
        <th> 用户ID</th>
        <th>用户姓名</th>
        <th>用户年龄</th>
    </tr>
    </thead>
    <tbody>
    <%
    for(item in userList!){
    %>
    <tr>
        <td>${item.id}</td>
        <td><a href="javascript:;">${item.name}</a></td>
        <td>${item.age}</td>
    </tr>
    <%}elsefor{
    %>
    <%
    }
    %>
    </tbody>
</table>
</body>
</html>